Quick Recap: The CLEAR Framework 📋
In Part 1, we introduced the CLEAR framework for effective AI prompting:Element | What It Means | Purpose |
---|---|---|
Component | What specific element you’re working with | Eliminates ambiguity |
Location | Where it exists in your app | Provides context |
Exact Change | What specific action you want | Defines the task |
Appearance | How it should look and behave | Sets specifications |
Reason | Why this matters | Explains the goal |
CLEAR in Action: Real-World React Examples 🎯
Scenario 1: Building User Authentication
The Situation: You need a complete login system for your SaaS application.❌ The Old Way (Vague Prompting)
✅ The CLEAR Way
Scenario 2: Building a Social Media Feed
The Situation: You want to create an Instagram-style feed for your community app.❌ The Old Way (Vague Prompting)
- What kind of posts? Images? Text? Videos?
- How do users interact? Likes? Comments? Shares?
- What’s the layout? Grid? List? Stories?
✅ The CLEAR Way (Chained Approach)
Step 1 - The Feed Layout:Scenario 3: The “Oh Shit” Moment - Demo Day Panic
The Situation: You’re showing your app to investors tomorrow and the main feature just broke.❌ Panic Prompting
✅ CLEAR Emergency Response
Scenario 4: Making Your App Look Professional
The Situation: Your app works but looks like it was built in 2010. You need that modern, premium feel.❌ Wishful Thinking
✅ CLEAR Style Upgrade
Advanced CLEAR Techniques 🎓
Technique 1: The Vibe-First Approach
Start with the feeling you want, then get specific: Context Setup / PRD / Custom Knowledge:Technique 2: The “Like That App” Method
Reference apps users already love:Technique 3: User Story Integration
Think like your users:Common App Scenarios: Before & After 🔄
E-commerce Product Pages
❌ Before: “Make a product page” ✅ After:Onboarding Flows
❌ Before: “Create user onboarding”✅ After:
Settings & Preferences
❌ Before: “Add a settings page” ✅ After:Your CLEAR App-Building Workflow 🚀
Step 1: Know Your Vibe
- What feeling should your app create?
- Who are your users and what do they want?
- What apps do they already love?
Step 2: Structure Your CLEAR Request
- Component: What specific screen or feature?
- Location: Where in your app does this live?
- Exact Change: What should it actually do?
- Appearance: How should it look and feel?
- Reason: Why will users love this?
Step 3: Build and Iterate
- Send your CLEAR prompt
- See what Tempo AI creates
- If it’s not quite right, adjust one CLEAR element and try again
Step 4: Chain for Complete Features
- Start with the main screen
- Add interactions and animations
- Polish with micro-interactions and edge cases
Measuring Your CLEAR Success 📊
Track these to see your improvement:Before CLEAR
- ⏱️ Time per feature: Hours of confusing back-and-forth
- 😤 Frustration level: “Why doesn’t it understand what I want?”
- 🎯 App quality: Looks basic, feels unfinished
After CLEAR
- ⏱️ Time per feature: Minutes to working, polished features
- 😤 Frustration level: “This is actually fun!”
- 🎯 App quality: “Wait, you built this yourself?”